//
//  CMAppDelegate.h
//  Perilla
//
//  Created by Martin Schiøth Dyrby on 10/6/12.
//  Copyright (c) 2012 Martin Schiøth Dyrby. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "CMAS3ObjectController.h"
#import "CMObjectParser.h"

@class CMMainWindowController;

@interface CMAppDelegate : NSObject <NSApplicationDelegate>

@property (retain) CMAS3ObjectController* objectController;
@property (retain) CMObjectParser* objectParser;
@property (assign) IBOutlet NSWindow *window;

@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;

//@property (assign) NSUInteger* objectsCount;

- (IBAction)saveAction:(id)sender;

@end
